package com.dc.zuul.mapper;

import com.dc.zuul.mapper.entity.DcBlacklist;
import org.apache.ibatis.annotations.Select;

public interface BlacklistMapper {

    @Select(" select ID AS ID ,ip_address AS ipAddress,restriction_type  as restrictionType, availability  as availability from dc_blacklist where  ip_address =#{ipAddress} and  restriction_type='1' ")
    DcBlacklist findBlacklist(String ipAddres);

}